<!doctype html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
    <title>信息补录tab页</title>
    <script src="/webjars/miniui/boot.js" type="text/javascript"></script>
    <link href="/static/css/resource.css" rel="stylesheet" type="text/css"/>
    <script src="/static/js/common/common.js" type="text/javascript"></script>
    <link href="/webjars/miniui/css/demo.css" rel="stylesheet" type="text/css"/>
    <link href="/static/css/default.css" rel="stylesheet" type="text/css"/>

</head>
<body>
<div class="mini-toolbar" style="padding:2px;" align="right" >
    <input name="priNum" id="priNum" class="mini-hidden" style="width: 100%" readonly/>
    <input name="pristopold" id="pristopold" class="mini-hidden" style="width: 100%" readonly/>
</div>
<div class="mini-tabs" style="width:100%;height: 100%" activeIndex="0" id="tabs" onbeforeactivechanged="onClickTo(e)">
    <div title="基本信息"  id="zyjn" style="width:350px;height:200px;" url = "/azbj/yazgl/xxbl/jbxx/tab?1=1&priNum=${priNum!''}"></div>
    <div title="刑期变更"  id="jxjs" style="width:350px;height:200px;" ></div>
</div>

<script type="text/javascript">
    mini.parse();
    var priNum = mini.get("priNum");/*获取罪犯编号*/
    var tabs = mini.get("tabs");/*获取tabs页*/

    function initTab(e){
        e.tab.activeTab(0);
    }
    /**
     * 点击标签页做的动作
     * @param e
     */
    function onClickTo(e) {
        var tab = e.tab;
        var tabName = tab.title;
        if("刑期变更" == tabName){
            tab.url = "/azbj/yazgl/xxbl/jxjs/tab?1=1"+ "&priNum=${priNum!''}"+"&pristopold=${pristopold!''}" ;
        }
    }
</script>
</body>
</html>